package com.site.wisdom_construction.service.statisticsModule;

import com.site.wisdom_construction.dao.statisticsModule.StatisticsQualityDao;
import com.site.wisdom_construction.statisticsResult.QualityByTypeName;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/2/12
 * @Description
 */
@Service
public class StatisticsQualityService implements StatisticsQualityDao {
    @Autowired
    private StatisticsQualityDao statisticsQualityDao;

    @Override
    public Integer countQualityAll(Map map) {
        return statisticsQualityDao.countQualityAll(map);
    }

    @Override
    public Integer countQualityAllByStatusDZ(Map map) {
        return statisticsQualityDao.countQualityAllByStatusDZ(map);
    }

    @Override
    public Integer countQualityAllByStatusDY(Map map) {
        return statisticsQualityDao.countQualityAllByStatusDY(map);
    }

    @Override
    public Integer countQualityAllByStatusYZ(Map map) {
        return statisticsQualityDao.countQualityAllByStatusYZ(map);
    }

    @Override
    public Integer countQualityAllByStatusCQ(Map map) {
        return statisticsQualityDao.countQualityAllByStatusCQ(map);
    }


    @Override
    public List<QualityByTypeName> countByQualityTypeName(Map map) {
        return statisticsQualityDao.countByQualityTypeName(map);
    }

    @Override
    public List<QualityByTypeName> countBySubcontractorsName(Map map) {
        return statisticsQualityDao.countBySubcontractorsName(map);
    }

    @Override
    public List<QualityByTypeName> countBySafetyInspectionName(Map map) {
        return statisticsQualityDao.countBySafetyInspectionName(map);
    }

    @Override
    public List<QualityByTypeName> countByTeamName(Map map) {
        return statisticsQualityDao.countByTeamName(map);
    }

    @Override
    public List<QualityByTypeName> countByResponsiblePerson(Map map) {
        return statisticsQualityDao.countByResponsiblePerson(map);
    }

    @Override
    public Integer countAll(Map map) {
        return statisticsQualityDao.countAll(map);
    }

    @Override
    public List<QualityByTypeName> countByDiscoverTime(Map map) {
        return statisticsQualityDao.countByDiscoverTime(map);
    }
}
